.user-center {
  padding: 24px;
  background: #f5f5f5;
  min-height: calc(100vh - 64px);
}

.user-info-card,
.user-detail-card {
  height: 100%;
  margin-bottom: 24px;
}

.user-info-card .ant-card-body {
  padding: 24px;
}

.user-detail-card .ant-card-body {
  padding: 24px;
}

.profile-tabs {
  min-height: 400px;
}

.profile-tabs .ant-tabs-content-holder {
  padding: 24px 0;
}

.profile-tabs .ant-tabs-tabpane {
  padding: 0 24px;
}

.user-avatar-section {
  text-align: center;
  margin-bottom: 24px;
}

.user-avatar-section .ant-avatar {
  margin-bottom: 16px;
}

.user-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.user-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}

.user-info-item:last-child {
  border-bottom: none;
}

.user-info-label {
  display: flex;
  align-items: center;
  color: #666;
  font-weight: 500;
}

.user-info-label .anticon {
  margin-right: 8px;
  color: #1890ff;
}

.user-info-value {
  color: #333;
  font-weight: 400;
}

.form-actions {
  text-align: center;
  margin-top: 24px;
}

.form-actions .ant-btn {
  margin: 0 8px;
}

/* UserInfo组件样式 */
.avatar-uploader {
  display: inline-block;
  position: relative;
}

.avatar-container {
  position: relative;
  display: inline-block;
}

.avatar-upload-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 50%;
  cursor: pointer;
}

.avatar-container:hover .avatar-upload-overlay {
  opacity: 1;
}

.avatar-uploader .ant-upload {
  border: none;
  background: transparent;
  padding: 0;
}

/* ResetPassword组件样式 */
.password-tips {
  margin-top: 24px;
  padding: 16px;
  background: #f6f8fa;
  border-radius: 6px;
  border-left: 4px solid #1890ff;
}

.password-tips h4 {
  margin: 0 0 8px 0;
  color: #333;
  font-size: 14px;
}

.password-tips ul {
  margin: 0;
  padding-left: 20px;
  color: #666;
  font-size: 13px;
}

.password-tips li {
  margin-bottom: 4px;
}

/* UserSocial组件样式 */
.social-description {
  margin-bottom: 24px;
  padding: 16px;
  background: #f0f2f5;
  border-radius: 6px;
  color: #666;
}

.social-accounts {
  margin-bottom: 24px;
}

.social-account-card {
  margin-bottom: 16px;
}

.social-account-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-account-info {
  display: flex;
  align-items: center;
  flex: 1;
}

.social-icon {
  font-size: 24px;
  margin-right: 16px;
  display: flex;
  align-items: center;
}

.social-details {
  flex: 1;
}

.social-name {
  font-weight: 500;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
}

.social-nickname {
  font-size: 13px;
  color: #666;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
}

.social-bind-time {
  font-size: 12px;
  color: #999;
}

.social-actions {
  margin-left: 16px;
}

.social-tips {
  padding: 16px;
  background: #f6f8fa;
  border-radius: 6px;
  border-left: 4px solid #52c41a;
}

.social-tips h4 {
  margin: 0 0 8px 0;
  color: #333;
  font-size: 14px;
}

.social-tips ul {
  margin: 0;
  padding-left: 20px;
  color: #666;
  font-size: 13px;
}

.social-tips li {
  margin-bottom: 4px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .user-center {
    padding: 16px;
  }
  
  .user-info-card,
  .user-detail-card {
    margin-bottom: 16px;
  }
  
  .profile-tabs .ant-tabs-tabpane {
    padding: 0 16px;
  }
  
  .social-account-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .social-actions {
    margin-left: 0;
    align-self: flex-end;
  }
}

@media (max-width: 576px) {
  .user-center {
    padding: 12px;
  }
  
  .profile-tabs {
    min-height: 300px;
  }
  
  .user-info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  
  .user-info-value {
    margin-left: 24px;
  }
  
  .social-icon {
    font-size: 20px;
    margin-right: 12px;
  }
}